<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>表格</title>

 
 <link href="${pageContext.request.contextPath }/css/bootstrap.min.css" rel="stylesheet">
 <link href="${pageContext.request.contextPath }/css/font-awesome.min.css" rel="stylesheet">
 <link href="${pageContext.request.contextPath }/css/plugins/iCheck/custom.css" rel="stylesheet">
 <link href="${pageContext.request.contextPath }/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
 
<link href="${pageContext.request.contextPath }/css/plugins/toastr/toastr.min.css" rel="stylesheet">

 <link href="${pageContext.request.contextPath }/css/animate.css" rel="stylesheet">
 <link href="${pageContext.request.contextPath }/css/style.css" rel="stylesheet">
 
 
 
 
</head>
<body class="gray-bg">

	<div class="wrapper wrapper-content  animated fadeInRight">
		<div class="row">
			<!-- 用户管理 -->
			<div class="col-sm-12">
				<div class="ibox">
					<div class="ibox-content">
						<div class="tab-content">
							<div id="userToolbar">
								<span class="small text-center">
									<button type="button"
										class="btn btn-xs btn-primary" onclick="addUser()">
										<i class="fa fa-plus"></i> 新增员工
									</button></span> <span class="small text-center">
									<button type="button"
										class="btn btn-xs btn-warning" onclick="givepower()">
										<i class="fa fa-hand-grab-o"></i> 解除禁用
									</button>
								</span>
							</div>
							<h2>用户管理</h2>
							<div class="alert alert-info alert-dismissable">
                            	<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
                          	  	双击行可以查看员工详细信息
                        	</div>
							<div class="">
								<div class="tab-pane active">
									<div class="table-responsive"></div>
									<!-- 动态生成表格 -->
									<table id="userTable">
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<!-- 新增用户的弹出框 -->
		<div class="modal inmodal" id="addUserModal" tabindex="-1" role="dialog"
			aria-hidden="true">
			<div class="modal-dialog modal-lg">
				<div class="modal-content animated fadeIn">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal">
							<span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
						</button>
						<h4 class="modal-title">新增员工</h4>
					</div>
					<div class="row">
						
					
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
						<button type="button" class="btn btn-primary" onclick="userSave()">保存</button>
					</div>
				</div>
			</div>
		</div>
	</div>





	<script src="${pageContext.request.contextPath }/js/jquery.min.js"></script>
	<script src="${pageContext.request.contextPath }/js/bootstrap.min.js"></script>
	<script
		src="${pageContext.request.contextPath }/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="${pageContext.request.contextPath }/js/content.js"></script>



	<!-- bootstr表格插件 -->
	<script
		src="${pageContext.request.contextPath }/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
	<script
		src="${pageContext.request.contextPath }/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
	<script
		src="${pageContext.request.contextPath }/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>

	<!-- 通知插件 -->
    <script src="${pageContext.request.contextPath }/js/plugins/toastr/toastr.min.js"></script>
		<!-- 格式化时间 -->
    <script src="${pageContext.request.contextPath }/js/plugins/moment.js"></script>

	<script
		src="${pageContext.request.contextPath }/myJs/admin/user/user.js"></script>
</body>

</html>